package com.panshi.api.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author XiaoWangYa
 * @version 1.0
 * @date 2020/8/4 0004 下午 2:48
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("文章未审核实体类")
public class ArticleNoBean implements Serializable {

    @ApiModelProperty("文章id")
    private int aid;
    @ApiModelProperty("发布人id")
    private int uid;
    @ApiModelProperty("类型id")
    private int tid;
    @ApiModelProperty("用户名")
    private String name;
    @ApiModelProperty("文章标题")
    private String a_title;
    @ApiModelProperty("文章内容")
    private String a_content;
    @ApiModelProperty("通过摘要/未通过原因")
    private String reasons;
    @ApiModelProperty("状态(0 伪删除 1审核中 2通过 3未通过)")
    private String state;
    @ApiModelProperty("创建时间")
    private Date created_time;
    @ApiModelProperty("更新时间")
    private Date updated_time;
    @ApiModelProperty("审核通过时间")
    private Date time;
    @ApiModelProperty("上架时间")
    private Date shelf_time;
    @ApiModelProperty("下架时间")
    private Date frame_time;
    @ApiModelProperty("时间转换")
    private String dateTime;

}